<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<probiz:pageHeading pageHeadingKey="stockNotifyList.heading" />


<form class="mainForm" name="entityListForm" id="entityListForm" method="post" action="${ctxPath}/product/stockNotify.html">
	<c:set var="editURLPath" value="/product/stockNotify.html?doAction=edit&from=list" scope="page" />
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="menu.stockNotify"/></span></li>
		</ul>
		<%@include file="/common/pagingOnlyTop.jsp"%>
	</div>
	<div class="data">
		<c:set var="checkAll"><input type="checkbox" name="allbox" onclick="checkAll(this.form)" class="checkbox"/></c:set>
		<display:table name="${stockNotifyList}" cellspacing="0" cellpadding="0" uid="stockNotify"
			class="list_table" export="false" requestURI="">
			<display:column class="checkbox_column" style="height:50px;" title="${checkAll}" media="html">
				<input type="checkbox" name="multiIds" value="${stockNotify.stockNotifyId}" class="checkbox" title="${stockNotify.product.productName}<fmt:message key="stockNotifyList.checkbox.title"/>"/>
			</display:column>
			<display:column style="width: 7%;" sortable="false"
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="product.imageUrl">
				<product:productImage product="${stockNotify.product}" sizeType="s0" linkType="0" width="58" height="58"/>
			</display:column>
			<display:column style="width: 10%;" sortable="false"
				decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="product.productName">
				${stockNotify.product.productName}
				<br/>
				(${stockNotify.product.productCode})
			</display:column>
		    <display:column style="width: 15%;"   sortable="false" headerClass="data-table-title"
        		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="stockNotify.customerInfo">
        		${stockNotify.stockNotifyUserName}<br/>
        		 Email:${stockNotify.email}
        	</display:column>	
		    <display:column property="memo" sortable="false" headerClass="data-table-title"
        		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="stockNotify.memo"/>
		    <display:column style="width: 8%;"  sortable="false" headerClass="data-table-title"
        		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="stockNotify.createTime">
        		<fmt:formatDate value="${stockNotify.createTime}" pattern="yyyy-MM-dd HH:mm:ss" />
        	</display:column>	
		    <display:column style="width: 8%;"  sortable="false" headerClass="data-table-title"
        		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="stockNotify.informTime">
        		<fmt:formatDate value="${stockNotify.informTime}" pattern="yyyy-MM-dd HH:mm:ss" />
        	</display:column>	
		    <display:column style="width: 10%;"  sortable="false" headerClass="data-table-title"
        		decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="stockNotify.informStatus">
        		<span <c:if test="${stockNotify.informStatus==0}">class="red"</c:if>><fmt:message key="stockNotify.informStatus_${stockNotify.informStatus}"/></span> 
        	</display:column>	
		</display:table>
		<%@include file="/common/pagingOnly.jsp"%>
	</div>
</form>

<%--------保存查询条件 -------%>
<%@include file="stockNotifySearchCriteriaStorage.jspf"%>

<script type="text/javascript">
$j(document).ready(function () {
	highlightTableRows("stockNotify");
});
</script>